package org.example;

public class Demo {
    public char function(int x, int y) {
        char t = 'C';
        return t;
    }
    public char function1(int x, int y) {
        char t = 'C';
        if (x >= 90)  {
            t = 'A';
        }
        return t;
    }
    public char function3(int x, int y) {
        char t = 'C';
        if ((x >= 90)&&(y >= 90)) {
            t = 'A';
        }
        return t;
    }
    public char function4(int x, int y) {
        char t = 'C';
        if ((x >= 90)&&(y >= 90)) {
            t = 'A';
        }else{
            if ( y >= 40) {
                t = 'B';
            } else {
                t = 'C';
            }
        }
        return t;
    }
}
